﻿using System;
using System.Collections.Generic;
using System.Text;

namespace formworks.DBO.Attributes
{
    /// <summary>
    /// TableEntity:表实体属性
    /// <para>【string】name：表名称</para>
    /// <para>【string】description：表描述信息</para>
    /// </summary>
    [AttributeUsage(AttributeTargets.Class)]
    public class TableEntity : Attribute
    {
        /// <summary>
        /// 
        /// </summary>
        /// <param name="name">表名称</param>
        /// <param name="description">表描述信息</param>
        public TableEntity(string name, string description)
        {
            this.name = name;
            this.description = description;
        }

        /// <summary>
        /// 表名称
        /// </summary>
        public string name { get; set; }

        /// <summary>
        /// 表描述信息
        /// </summary>
        public string description { get; set; }


    }
}
